package com.rightsidetech.activity.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * act_activity_relation
 * @author 
 */
public class ActActivityRelation implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 0换购活动 1优惠券活动 2门店活动
     */
    private Byte type;

    /**
     * 关联主表id
     */
    private Long relationId;

    /**
     * 创建时间
     */
    private Date createdAt;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}